package com.octopus.tree;

import java.util.Properties;


public interface TreeLeaf{
	
	String getTreeLeafName();
	String getTreeLeafKind();
	String getTreeLeafContentType();
	Object getTreeLeafContent();
	Properties getTreeLeafProperties();
	String getTreeLeafProperty(String key);
	
	void setTreeLeafName(String name);
	void setTreeLeafContent(Object object);
	void setTreeLeafProperty(String name, String value);
	void removeTreeLeafProperty(String name);
	void setTreeLeafKind(String kind);
	
	String genTreePath();
	String genParentPath();
	
	void detach();
	
	boolean preparePermanent();
	void clearPermanent();
	boolean toContentObject();
	
	Object getObjectContent();
	void setObjectContent(Object objectContent);
}
